<template>
  <a-modal
    :title="title"
    :width="width"
    :visible="visible"
    :confirmLoading="confirmLoading"
    :footer="null"
    @cancel="handleCancel"
    cancelText="关闭">
    <div>
      <div class="rowsDetail">
      <!--boardRawNo','rawMatType','materialNo',-->
        <a-row>
          <a-col :span="3"  class="title">板卡原材料批次号:</a-col>
          <a-col :span="5" >{{record.boardRawNo}}</a-col>
          <a-col :span="3" class="title">原材料类型：</a-col>
          <a-col :span="5">
            {{record.rawMatType}}
          </a-col>
          <a-col :span="3" class="title">物料编码</a-col>
          <a-col :span="5" >{{record.materialNo}}</a-col>
        </a-row>
      </div>
      <!--'materialDesc','checkTime','serialNo',-->
      <div class="rowsDetail">
        <a-row>
          <a-col :span="3" class="title">物料描述:</a-col>
          <a-col :span="5">{{record.materialDesc}}</a-col>
          <a-col :span="3" class="title">检验日期:</a-col>
          <a-col :span="5">{{record.checkTime}}</a-col>
          <a-col :span="3" class="title">序号:</a-col>
          <a-col :span="5">{{record.serialNo}}</a-col>
        </a-row>
      </div>
      <!--'inputVal','outputMaxVal','supplierCode',-->
      <div class="rowsDetail">
        <a-row>
          <a-col :span="3" class="title">输入值:</a-col>
          <a-col :span="5">{{record.inputVal}}</a-col>
          <a-col :span="3" class="title">输出最大值:</a-col>
          <a-col :span="5">{{record.outputMaxVal}}</a-col>
          <a-col :span="3" class="title">供应商编码</a-col>
          <a-col :span="5">{{record.supplierCode}}</a-col>
        </a-row>
      </div>
      <!--'ioflag','processRouteNo','outputMinVal',)-->

      <div class="rowsDetail">
        <a-row>
          <a-col :span="3" class="title">标记:</a-col>
          <a-col :span="5">{{record.ioflag}}</a-col>
          <a-col :span="3" class="title">工艺编码:</a-col>
          <a-col :span="5">{{record.processRouteNo}}</a-col>
          <a-col :span="3" class="title">输出最小值:</a-col>
          <a-col :span="5">{{record.outputMinVal}}</a-col>
        </a-row>
      </div>
      <!--'updateTime')-->
      <div class="rowsDetail">
        <a-row>
          <a-col :span="3">检测时间:</a-col>
          <a-col :span="5">{{record.updateTime}}</a-col>
        </a-row>
      </div>

      <div style="text-align: center;margin-top: 10px"><a-button type="primary" @click="()=>this.visible = false">关闭</a-button></div>
    </div>
  </a-modal>
</template>
<script>

  import { httpAction } from '@/api/manage'
  import JDate from '@/components/jeecg/JDate'
  
  export default {
    name: "ZxjEip2cHgqModal",
    components: { 
      JDate,
    },
    data () {
      return {
        form: this.$form.createForm(this),
        title:"操作",
        width:800,
        visible: false,
        model: {},
        labelCol: {
          xs: { span: 24 },
          sm: { span: 5 },
        },
        wrapperCol: {
          xs: { span: 24 },
          sm: { span: 16 },
        },

        confirmLoading: false,
      }
    },
    created () {
    },
    methods: {
      close () {
        this.$emit('close');
        this.visible = false;
      },
      addModal (record) {
        this.record=record;
        this.visible = true;
      },
      handleCancel () {
        this.close()
      },
      
    }
  }
</script>